package com.secxiot.provider.task.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class TaskSOS implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 患者姓名
     */
    private String patientName;

    /**
     * 患者手机
     */
    private String patientMobile;

    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 纬度
     */
    private BigDecimal latitude;

    /**
     * 位置
     */
    private String userAddress;

    /**
     * 紧急联系人id
     */
    private Long emergencyId;

    /**
     * 紧急联系人姓名
     */
    private String emergencyName;

    /**
     * 紧急联系人电话
     */
    private String emergencyMobile;

    /**
     * 关系
     */
    private String emergencyRelationship;

    /**
     * 医院位置id
     */
    private Long hospitalId;

    /**
     * 医院名称
     */
    private String hospitalName;

    /**
     * 任务id
     */
    private Long taskId;

    /**
     * 医院经度
     */
    private BigDecimal hospitalLongitude;

    /**
     * 医院纬度
     */
    private BigDecimal hospitalLatitude;

    /**
     * 备注（sos出诊）
     */
    private String remark;

    /**
     * 备注（sos出诊）
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName == null ? null : patientName.trim();
    }

    public String getPatientMobile() {
        return patientMobile;
    }

    public void setPatientMobile(String patientMobile) {
        this.patientMobile = patientMobile == null ? null : patientMobile.trim();
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress == null ? null : userAddress.trim();
    }

    public Long getEmergencyId() {
        return emergencyId;
    }

    public void setEmergencyId(Long emergencyId) {
        this.emergencyId = emergencyId;
    }

    public String getEmergencyName() {
        return emergencyName;
    }

    public void setEmergencyName(String emergencyName) {
        this.emergencyName = emergencyName == null ? null : emergencyName.trim();
    }

    public String getEmergencyMobile() {
        return emergencyMobile;
    }

    public void setEmergencyMobile(String emergencyMobile) {
        this.emergencyMobile = emergencyMobile == null ? null : emergencyMobile.trim();
    }

    public String getEmergencyRelationship() {
        return emergencyRelationship;
    }

    public void setEmergencyRelationship(String emergencyRelationship) {
        this.emergencyRelationship = emergencyRelationship == null ? null : emergencyRelationship.trim();
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName == null ? null : hospitalName.trim();
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public BigDecimal getHospitalLongitude() {
        return hospitalLongitude;
    }

    public void setHospitalLongitude(BigDecimal hospitalLongitude) {
        this.hospitalLongitude = hospitalLongitude;
    }

    public BigDecimal getHospitalLatitude() {
        return hospitalLatitude;
    }

    public void setHospitalLatitude(BigDecimal hospitalLatitude) {
        this.hospitalLatitude = hospitalLatitude;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", patientName=").append(patientName);
        sb.append(", patientMobile=").append(patientMobile);
        sb.append(", longitude=").append(longitude);
        sb.append(", latitude=").append(latitude);
        sb.append(", userAddress=").append(userAddress);
        sb.append(", emergencyId=").append(emergencyId);
        sb.append(", emergencyName=").append(emergencyName);
        sb.append(", emergencyMobile=").append(emergencyMobile);
        sb.append(", emergencyRelationship=").append(emergencyRelationship);
        sb.append(", hospitalId=").append(hospitalId);
        sb.append(", hospitalName=").append(hospitalName);
        sb.append(", taskId=").append(taskId);
        sb.append(", hospitalLongitude=").append(hospitalLongitude);
        sb.append(", hospitalLatitude=").append(hospitalLatitude);
        sb.append(", remark=").append(remark);
        sb.append(", create_time=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}